﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace BarManager.Core.Entity
{
    [DataContract]
    public class Presentismo
    {
        [DataMember]
        public long Id { get; set; }
        [Required]
        [DataMember]
        public int IdEmpleado { get; set; }
        [Required]
        [DataMember]
        public DateTime Fecha { get; set; }
        [Required]
        [DataMember]
        public DateTime HoraIngreso { get; set; }
        [Required]
        [DataMember]
        public DateTime HoraEgreso { get; set; }
        [DataMember]
        public Empleado Empleado { get; set; }       
    }
}
